using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Workspace
{
    /// <summary>
    /// <para>Create Mobile Geodatabase</para>
    /// <para>Creates a mobile geodatabase.</para>
    /// <para>创建移动地理数据库。</para>
    /// </summary>    
    [DisplayName("Create Mobile Geodatabase")]
    public class CreateMobileGDB : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public CreateMobileGDB()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_out_folder_path">
        /// <para>Mobile Geodatabase Location</para>
        /// <para>The folder where the mobile geodatabase will be created.</para>
        /// <para>将在其中创建移动地理数据库的文件夹。</para>
        /// </param>
        /// <param name="_out_name">
        /// <para>Mobile Geodatabase Name</para>
        /// <para>The name of the mobile geodatabase to be created.</para>
        /// <para>要创建的移动地理数据库的名称。</para>
        /// </param>
        public CreateMobileGDB(object _out_folder_path, object _out_name)
        {
            this._out_folder_path = _out_folder_path;
            this._out_name = _out_name;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Create Mobile Geodatabase";

        public override string CallName => "management.CreateMobileGDB";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_out_folder_path, _out_name, _out_gdb];

        /// <summary>
        /// <para>Mobile Geodatabase Location</para>
        /// <para>The folder where the mobile geodatabase will be created.</para>
        /// <para>将在其中创建移动地理数据库的文件夹。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Mobile Geodatabase Location")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_folder_path { get; set; }


        /// <summary>
        /// <para>Mobile Geodatabase Name</para>
        /// <para>The name of the mobile geodatabase to be created.</para>
        /// <para>要创建的移动地理数据库的名称。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Mobile Geodatabase Name")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_name { get; set; }


        /// <summary>
        /// <para>Output Mobile Geodatabase</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Mobile Geodatabase")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_gdb { get; set; }


        public CreateMobileGDB SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}